package com.io.entity.one2many;

import com.io.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * The class/interface
 *
 * @author guodd
 * @version 1.0 use jdk 1.8
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name = "tb_teacher")
public class UserEntity extends BaseEntity {
    /**
     * 属性描述：name
     */
    private String name;

    /**
     * 属性描述：age
     */
    private Integer age;

    /**
     * 属性描述：address
     */
    private String address;

    /**
     * 属性描述：
     */
    private String firstName;

    /**
     * 属性描述：
     */
    private String lastName;

    /**
     * 属性描述：
     */
    private String sex;

    /**
     * 属性描述：
     */
    private String email;

}
